package com.hong.servicehosp.service;

import com.hong.model.model.hosp.Hospital;
import com.hong.model.vo.hosp.HospitalQueryVo;
import com.hong.model.vo.hosp.HospitalSetQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;

public interface HospitalService {
    //医院上传接口
    void save(Map<String, Object> paramMap);

    //根据医院编号进行查询接口
    Hospital getByHoscode(String hostCode);

    Page<Hospital> selectHospitalByPage(Integer page, Integer limit, HospitalQueryVo hospitalQueryVo) throws ExecutionException, InterruptedException;

    void updateStatus(String id, Integer status);

    Map<String, Object> getHospById(String id) throws InterruptedException, ExecutionException;

    List<Hospital> findByHosName(String hosname);

    Map<String, Object> findHospDetail(String hoscode) throws InterruptedException, ExecutionException;

    String getHospName(String hoscode);
}
